<!--
// 
// index.vue
// 海石后台管理
// 
// 2024/11/20.
// 
-->
<template>
    <div class="index">
        <Header/>
        <Sidebar/>
        <Content/>
    </div>
</template>

<script setup>
import {ref, reactive, computed, onMounted} from "vue";
import {useStore} from "vuex";
import {useRouter} from "vue-router";
import Header from "./header.vue";
import Sidebar from "./sidebar.vue";
import Content from "./content.vue";

const props = defineProps({});
const emits = defineEmits();

// 路由
const router = useRouter();
// store
const store = useStore();

store.dispatch("setContainerHeight", document.documentElement.clientHeight - 50)



onMounted(() => {

})
</script>

<style scoped lang="scss">
.index {
}
</style>